package com.ms.p2p.provider;

import com.ms.p2p.bean.PageBean;
import com.ms.p2p.entity.account.YuEbao;
import com.ms.p2p.entity.account.YuEbaoLog;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Description:活期宝操作记录
 */

public interface YeahpayLogProvider {

	public int insert(YuEbao yuEbao, String type, BigDecimal money,
					  String remark, String addIp);




	public int insert(YuEbaoLog yuEbaoLog);


	public List<Map<String, Object>> getPager(String userId, String userName,
											  String logType, String begin_date, String end_date, PageBean page) ;

	public Map<String, Object> cacuYesterDay(int userId);

	public List<YuEbaoLog> findPager(Integer id, PageBean page);


	public int findCount(Integer ide);

	public int getCount(String userId, String userName, String logType,
						String begin_date, String end_date);

}
